<?php
return array(
    'components' => array(
        'cache' => array(
            'class' => 'ext.redis.CRedisCache',
            'keyPrefix'=>false,
            'hashKey'=>false,
            //'serializer'=>false,
            'servers' => array(
                array(
                    'host' => '192.168.10.106',
                    'port' => 6379,
                    'password' => '00000000',
                ),
            ),
        ),
        //read-only redis cache
        'cache2'=>array(
            'class'      => 'ext.redis.CgtzRedisCache',
            'keyPrefix'  => false,
            'hashKey'    => false,
            'serializer' => false,
            'hostname'   => '192.168.10.106',
            'port'       => 6379,
            'password'   => '00000000',
            'database'   => 0,
            'timeout'    => 3,
        ),
        'cache3' => array(
            'class' => 'ext.redis.CRedisCache',
            'servers' => array(
                array(
                    'host' => '192.168.10.106',
                    'port' => 6379,
                    'password' => '00000000',

                ),
            ),
        ),
        'cache_php'=>array(
            'class' => 'ext.redis.CgtzRedisCache',
            'keyPrefix'=>false,
            'hashKey'=>false,
            'serializer'=>false,
            'hostname' => '192.168.10.106',
            'port' => 6379,
            'password' => '00000000',
            'database'=>2,
        ),
        
        'cache_new'=>array(
            'class'      => 'ext.redis.CgtzRedisCache',
            'keyPrefix'  => false,
            'hashKey'    => false,
            'serializer' => false,
            'hostname'   => '192.168.10.30',
            'port'       => 6402,
            'password'   => '00000000',
            'database'   => 0,
            'timeout'    => 2.5,
        ),
        'cache_ext'=>array(
            'class'      => 'ext.redis.CgtzRedisCache',
            'keyPrefix'  => false,
            'hashKey'    => false,
            'serializer' => false,
            'hostname'   => '192.168.10.106',
            'port'       => 6379,
            'password'   => '00000000',
            'database'   => 0,
            'timeout'    => 3,
        ),
    ),
);
?>